package Day3Demo;

/**
 * @author PHUNG Nam Can - NakanPhung
 * @mail cank56hua@gmail.com
 * @date Jul 22, 2013 7:57:14 PM
 * @project Day3Demo
 * @file CalculatorDemo.java
 */

public class CalculatorDemo {

	public static void main(String[] args) {
		Calculator cal = new Calculator();
		int s = cal.sub(3, 5);

		System.out.println("Subtraction result: " + s);

		// calling static method
		int a = Calculator.add(3, 5);
		System.out.println("Addition result: " + a);

	}

}
